| Einhugur RawBitmap Objo plugin. |
|
Einhugur.RawBitmap.FillRect Method
Fills a rectangle at given location into the RawBitmap with a given color.

FillRect(
x
as Integer,
y
as Integer,
width
as Integer,
height
as Integer,
fillColor
as Colour)
Parameters
- x
- The x-coordinate of the top-left corner of the rectangle.
- y
- The y-coordinate of the top-left corner of the rectangle.
- width
- The width of the rectangle.
- height
- The height of the rectangle.
- fillColor
- The color to fill the rectangle with.
Remarks
Note even if this class has the some methods to draw then it is not a Graphics context and never will be. The few drawing commands are more of to help make debugging easier.
When used with color space CMYK then the fill color is no longer RGB but CMYK, and is passed in like &cFFFFFFFF, where first 2 hex letters are C, 2nd 2 are M, next pair is Y and last pair is Key.
See Also
Einhugur.RawBitmap Class